package com.fortune.dto.in.clientOrder;

import org.hibernate.validator.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;

public class AddProduct {
	@NotBlank(message="商品id不能为空")
	@ApiModelProperty(required=true, example="商品id")
	private String productId;
	@NotBlank(message="商品数量不能为空")
	@ApiModelProperty(required=true, example="商品数量")
	private int count;
	public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	@Override
	public String toString() {
		return "AddProduct [productId=" + productId + ", count=" + count + "]";
	}
}
